package com.platform.car.service.impl;

import com.platform.car.dao.CameraDao;
import com.platform.car.model.Camera;
import com.platform.car.service.CameraService;
import com.platform.common.base.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class CameraServiceImpl extends BaseServiceImpl<Camera> implements CameraService {

    @Autowired
    private CameraDao cameraDao;
    @Override
    public Camera findByEquip(Camera camera) {
        return cameraDao.findByEquip(camera);
    }
}
